<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>企业聊天工具 Rocket.Chat 开源 IM 系统 Docker 入门教程</title>
    <meta name="description" content="Rocket.Chat 是特性最丰富的 Slack 开源替代品之一。">
    <meta name="keywords" content="docker,containers,tutorial">
    <link rel="stylesheet" type="text/css" href="../css/main.css?v=1.29.0">
    <link rel="stylesheet" type="text/css" href="../css/tocbot.css?v=1.29.0">
    <link rel="stylesheet" type="text/css" href="../css/media.css?v=1.29.0">
    <link rel="stylesheet" type="text/css" href="../css/sidebar.css?v=1.29.0">
    <link rel="stylesheet" type="text/css" href="../css/copy.css?v=1.29.0">
    <link rel="stylesheet" type="text/css" href="../css/demo-preview.css?v=1.29.0">
    <link rel="icon" href="../img/logo.svg" type="image/x-icon">
    <script src="../js/copy.js?v=1.29.0"></script>
    <script src="../js/dark-mode.js?v=1.29.0"></script>
    <script src="../js/markdown-style.js?v=1.29.0"></script>
  </head>
  <body id="idoctotop"><a href="#idoctotop" class="gototop">top</a>
    <header class="header">
      <article class="inner warpper"><a class="logo" href="../index.html"><svg viewBox="0 0 1280 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
            <path d="M699.88718 472.6h-132.2v-118.8h132.2v118.8z m0-408.6h-132.2v121.4h132.2V64z m156.4 289.6H724.08718v118.8h132.2v-118.8z m-312.6-144.2h-132.2v120.2h132.2v-120.2z m156.2 0h-132.2v120.2h132.2v-120.2z m553.6 200c-28.8-19.4-95.2-26.4-146.2-16.8-6.6-48-33.4-89.8-82.2-127.4l-28-18.6-18.6 28c-36.8 55.6-46.8 147.2-7.4 207.6-17.4 9.4-51.6 22.2-96.8 21.4H4.88718c-17.4 101.6 11.6 233.6 88 324.2 74.2 87.8 185.4 132.4 330.8 132.4 314.8 0 547.8-145 656.8-408.4 42.8 0.8 135.2 0.2 182.6-90.4 3-5 13.2-26.4 17-34.2l-26.6-17.8z m-1022.2-55.8h-132v118.8h132.2v-118.8z m156.2 0h-132.2v118.8h132.2v-118.8z m156.2 0h-132.2v118.8h132.2v-118.8z m-156.2-144.2h-132.2v120.2h132.2v-120.2z" fill="#0187D1"></path>
          </svg>
<span class="title">Docker 入门教程</span></a>
        <div class="content">
          <ul class="menu">
            <li><a href="../index.html" target="" class="">Home</a></li>
            <li><a href="https://wangchujiang.com/#/sponsor" target="__blank" class="">Sponsor</a></li>
          </ul><a href="https://github.com/jaywcjlove/docker-tutorial" target="_blank" rel="noopener noreferrer" title="Github" name="Github" class="github"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
              <path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path>
            </svg></a>
          <dark-mode permanent=""></dark-mode>
        </div>
      </article>
    </header>
    <div class="warpper-content warpper sidebar">
      <div class="sidebar-border">
        <aside class="sidebar" role="navigation">
          <div>
            <a href="../index.html" class="">入门</a>
            <label>实践</label>
            <a href="../docker-compose.html" class="">Docker Compose</a>
            <a href="../elasticsearch.html" class="">ElasticSearch 搜索服务器</a>
            <a href="../gitlab/index.html" class="">Gitlab 代码仓库管理系统</a>
            <a href="../harbor.html" class="">Harbor</a>
            <a href="../mattermost.html" class="">Mattermost 聊天工具</a>
            <a href="../mysql.html" class="">MySQL 数据库</a>
            <a href="../nginx.html" class="">Nginx Web 服务器</a>
            <a href="../nps/index.html" class="">NPS 内网穿透</a>
            <a href="../portainer.html" class="">Portainer Docker 管理</a>
            <a href="../postgres.html" class="">PostgreSQL 数据库</a>
            <a href="../penpot.html" class="">Penpot 设计和原型</a>
            <a href="../navidrome.html" class="">Navidrome 音乐服务器</a>
            <a href="../rancher.html" class="">Rancher 容器管理平台</a>
            <a href="../redis.html" class="">Redis 数据库</a>
            <a href="index.html" class="active">Rocket.Chat 聊天工具</a>
            <a href="../seaweedfs/index.html" class="">SeaweedFS 文件系统</a>
            <a href="../sourcegraph/index.html" class="">Sourcegraph 代码搜索引擎</a>
          </div>
        </aside>
      </div>
      <markdown-style theme-auto-switch-disabled="">
        <h1 id="企业聊天工具-rocketchat-开源-im-系统"><a aria-hidden="true" tabindex="-1" href="#企业聊天工具-rocketchat-开源-im-系统" class="anchor"><span class="icon icon-link"></span></a>企业聊天工具 Rocket.Chat 开源 IM 系统</h1>
        <p><a href="https://github.com/rocketchat/">Rocket.Chat</a> 是特性最丰富的 Slack 开源替代品之一。</p>
        <p>主要功能：群组聊天，直接通信，私聊群，桌面通知，媒体嵌入，链接预览，文件上传，语音/视频 聊天，截图等等。</p>
        <p>Rocket.Chat 原生支持 Windows，Mac OS X ，Linux，iOS 和 Android 平台。Rocket.Chat 通过 hubot 集成了非常流行的服务，比如 GitHub，GitLab，Confluence，JIRA 等等。</p>
        <p>高级的特性包括：OTR 消息，XMPP 多用户聊天，Kerberos 认证，p2p 文件分享等等。</p>
        <p>安装顺执行下面命令启动服务，<a href="https://rocket.chat/docs/installation/docker-containers/docker-compose/">官方部署文档</a></p>
        <h2 id="docker-composeyml"><a aria-hidden="true" tabindex="-1" href="#docker-composeyml" class="anchor"><span class="icon icon-link"></span></a>docker-compose.yml</h2>
        <pre class="language-yml"><code class="language-yml code-highlight"><span class="code-line line-number" line="1"><span class="token key atrule">version</span><span class="token punctuation">:</span> <span class="token string">'2'</span>
</span><span class="code-line line-number" line="2">
</span><span class="code-line line-number" line="3"><span class="token key atrule">services</span><span class="token punctuation">:</span>
</span><span class="code-line line-number" line="4">  <span class="token key atrule">rocketchat</span><span class="token punctuation">:</span>
</span><span class="code-line line-number" line="5">    <span class="token key atrule">image</span><span class="token punctuation">:</span> rocketchat/rocket.chat<span class="token punctuation">:</span>latest
</span><span class="code-line line-number" line="6">    <span class="token key atrule">restart</span><span class="token punctuation">:</span> unless<span class="token punctuation">-</span>stopped
</span><span class="code-line line-number" line="7">    <span class="token key atrule">volumes</span><span class="token punctuation">:</span>
</span><span class="code-line line-number" line="8">      <span class="token punctuation">-</span> ./uploads<span class="token punctuation">:</span>/app/uploads
</span><span class="code-line line-number" line="9">    <span class="token key atrule">environment</span><span class="token punctuation">:</span>
</span><span class="code-line line-number" line="10">      <span class="token punctuation">-</span> PORT=3500
</span><span class="code-line line-number" line="11">      <span class="token punctuation">-</span> ROOT_URL=http<span class="token punctuation">:</span>//localhost<span class="token punctuation">:</span><span class="token number">3500</span>
</span><span class="code-line line-number" line="12">      <span class="token punctuation">-</span> MONGO_URL=mongodb<span class="token punctuation">:</span>//mongo<span class="token punctuation">:</span>27017/rocketchat
</span><span class="code-line line-number" line="13">      <span class="token punctuation">-</span> MONGO_OPLOG_URL=mongodb<span class="token punctuation">:</span>//mongo<span class="token punctuation">:</span>27017/local
</span><span class="code-line line-number" line="14">      <span class="token punctuation">-</span> MAIL_URL=smtp<span class="token punctuation">:</span>//smtp.email
</span><span class="code-line line-number" line="15"><span class="token comment">#       - HTTP_PROXY=http://proxy.domain.com</span>
</span><span class="code-line line-number" line="16"><span class="token comment">#       - HTTPS_PROXY=http://proxy.domain.com</span>
</span><span class="code-line line-number" line="17">    <span class="token key atrule">depends_on</span><span class="token punctuation">:</span>
</span><span class="code-line line-number" line="18">      <span class="token punctuation">-</span> mongo
</span><span class="code-line line-number" line="19">    <span class="token key atrule">ports</span><span class="token punctuation">:</span>
</span><span class="code-line line-number" line="20">      <span class="token punctuation">-</span> 3500<span class="token punctuation">:</span><span class="token number">3500</span>
</span><span class="code-line line-number" line="21">    <span class="token key atrule">labels</span><span class="token punctuation">:</span>
</span><span class="code-line line-number" line="22">      <span class="token punctuation">-</span> <span class="token string">"traefik.backend=rocketchat"</span>
</span><span class="code-line line-number" line="23">      <span class="token punctuation">-</span> <span class="token string">"traefik.frontend.rule=Host: your.domain.tld"</span>
</span><span class="code-line line-number" line="24">
</span><span class="code-line line-number" line="25">  <span class="token key atrule">mongo</span><span class="token punctuation">:</span>
</span><span class="code-line line-number" line="26">    <span class="token key atrule">image</span><span class="token punctuation">:</span> mongo<span class="token punctuation">:</span><span class="token number">3.2</span>
</span><span class="code-line line-number" line="27">    <span class="token key atrule">restart</span><span class="token punctuation">:</span> unless<span class="token punctuation">-</span>stopped
</span><span class="code-line line-number" line="28">    <span class="token key atrule">volumes</span><span class="token punctuation">:</span>
</span><span class="code-line line-number" line="29">     <span class="token punctuation">-</span> ./data/db<span class="token punctuation">:</span>/data/db
</span><span class="code-line line-number" line="30">     <span class="token comment">#- ./data/dump:/dump</span>
</span><span class="code-line line-number" line="31">    <span class="token key atrule">command</span><span class="token punctuation">:</span> mongod <span class="token punctuation">-</span><span class="token punctuation">-</span>smallfiles <span class="token punctuation">-</span><span class="token punctuation">-</span>oplogSize 128 <span class="token punctuation">-</span><span class="token punctuation">-</span>replSet rs0 <span class="token punctuation">-</span><span class="token punctuation">-</span>storageEngine=mmapv1
</span><span class="code-line line-number" line="32">    <span class="token key atrule">labels</span><span class="token punctuation">:</span>
</span><span class="code-line line-number" line="33">      <span class="token punctuation">-</span> <span class="token string">"traefik.enable=false"</span>
</span><span class="code-line line-number" line="34">
</span><span class="code-line line-number" line="35">  <span class="token comment"># this container's job is just run the command to initialize the replica set.</span>
</span><span class="code-line line-number" line="36">  <span class="token comment"># it will run the command and remove himself (it will not stay running)</span>
</span><span class="code-line line-number" line="37">  <span class="token key atrule">mongo-init-replica</span><span class="token punctuation">:</span>
</span><span class="code-line line-number" line="38">    <span class="token key atrule">image</span><span class="token punctuation">:</span> mongo<span class="token punctuation">:</span><span class="token number">3.2</span>
</span><span class="code-line line-number" line="39">    <span class="token key atrule">command</span><span class="token punctuation">:</span> 'mongo mongo/rocketchat <span class="token punctuation">-</span><span class="token punctuation">-</span>eval "rs.initiate(<span class="token punctuation">{</span> <span class="token key atrule">_id</span><span class="token punctuation">:</span> ''rs0''<span class="token punctuation">,</span> <span class="token key atrule">members</span><span class="token punctuation">:</span> <span class="token punctuation">[</span> <span class="token punctuation">{</span> <span class="token key atrule">_id</span><span class="token punctuation">:</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token key atrule">host</span><span class="token punctuation">:</span> ''localhost<span class="token punctuation">:</span>27017'' <span class="token punctuation">}</span> <span class="token punctuation">]</span><span class="token punctuation">}</span>)"'
</span><span class="code-line line-number" line="40">    <span class="token key atrule">depends_on</span><span class="token punctuation">:</span>
</span><span class="code-line line-number" line="41">      <span class="token punctuation">-</span> mongo
</span><span class="code-line line-number" line="42">
</span><span class="code-line line-number" line="43">  <span class="token comment"># hubot, the popular chatbot (add the bot user first and change the password before starting this image)</span>
</span><span class="code-line line-number" line="44">  <span class="token key atrule">hubot</span><span class="token punctuation">:</span>
</span><span class="code-line line-number" line="45">    <span class="token key atrule">image</span><span class="token punctuation">:</span> rocketchat/hubot<span class="token punctuation">-</span>rocketchat<span class="token punctuation">:</span>latest
</span><span class="code-line line-number" line="46">    <span class="token key atrule">restart</span><span class="token punctuation">:</span> unless<span class="token punctuation">-</span>stopped
</span><span class="code-line line-number" line="47">    <span class="token key atrule">environment</span><span class="token punctuation">:</span>
</span><span class="code-line line-number" line="48">      <span class="token punctuation">-</span> ROCKETCHAT_URL=rocketchat<span class="token punctuation">:</span><span class="token number">3500</span>
</span><span class="code-line line-number" line="49">      <span class="token punctuation">-</span> ROCKETCHAT_ROOM=GENERAL
</span><span class="code-line line-number" line="50">      <span class="token punctuation">-</span> ROCKETCHAT_USER=bot
</span><span class="code-line line-number" line="51">      <span class="token punctuation">-</span> ROCKETCHAT_PASSWORD=botpassword
</span><span class="code-line line-number" line="52">      <span class="token punctuation">-</span> BOT_NAME=bot
</span><span class="code-line line-number" line="53">  <span class="token comment"># you can add more scripts as you'd like here, they need to be installable by npm</span>
</span><span class="code-line line-number" line="54">      <span class="token punctuation">-</span> EXTERNAL_SCRIPTS=hubot<span class="token punctuation">-</span>help<span class="token punctuation">,</span>hubot<span class="token punctuation">-</span>seen<span class="token punctuation">,</span>hubot<span class="token punctuation">-</span>links<span class="token punctuation">,</span>hubot<span class="token punctuation">-</span>diagnostics
</span><span class="code-line line-number" line="55">    <span class="token key atrule">depends_on</span><span class="token punctuation">:</span>
</span><span class="code-line line-number" line="56">      <span class="token punctuation">-</span> rocketchat
</span><span class="code-line line-number" line="57">    <span class="token key atrule">labels</span><span class="token punctuation">:</span>
</span><span class="code-line line-number" line="58">      <span class="token punctuation">-</span> <span class="token string">"traefik.enable=false"</span>
</span><span class="code-line line-number" line="59">    <span class="token key atrule">volumes</span><span class="token punctuation">:</span>
</span><span class="code-line line-number" line="60">      <span class="token punctuation">-</span> ./scripts<span class="token punctuation">:</span>/home/hubot/scripts
</span><span class="code-line line-number" line="61">  <span class="token comment"># this is used to expose the hubot port for notifications on the host on port 3001, e.g. for hubot-jenkins-notifier</span>
</span><span class="code-line line-number" line="62">    <span class="token key atrule">ports</span><span class="token punctuation">:</span>
</span><span class="code-line line-number" line="63">      <span class="token punctuation">-</span> 3001<span class="token punctuation">:</span><span class="token number">8080</span>
</span><span class="code-line line-number" line="64">
</span><span class="code-line line-number" line="65">  <span class="token comment">#traefik:</span>
</span><span class="code-line line-number" line="66">  <span class="token comment">#  image: traefik:latest</span>
</span><span class="code-line line-number" line="67">  <span class="token comment">#  restart: unless-stopped</span>
</span><span class="code-line line-number" line="68">  <span class="token comment">#  command: traefik --docker --acme=true --acme.domains='your.domain.tld' --acme.email='your@email.tld' --acme.entrypoint=https --acme.storagefile=acme.json --defaultentrypoints=http --defaultentrypoints=https --entryPoints='Name:http Address::80 Redirect.EntryPoint:https' --entryPoints='Name:https Address::443 TLS.Certificates:'</span>
</span><span class="code-line line-number" line="69">  <span class="token comment">#  ports:</span>
</span><span class="code-line line-number" line="70">  <span class="token comment">#    - 80:80</span>
</span><span class="code-line line-number" line="71">  <span class="token comment">#    - 443:443</span>
</span><span class="code-line line-number" line="72">  <span class="token comment">#  volumes:</span>
</span><span class="code-line line-number" line="73">  <span class="token comment">#    - /var/run/docker.sock:/var/run/docker.sock</span>
</span></code><input type="hidden" value="version: &#x27;2&#x27;

services:
  rocketchat:
    image: rocketchat/rocket.chat:latest
    restart: unless-stopped
    volumes:
      - ./uploads:/app/uploads
    environment:
      - PORT=3500
      - ROOT_URL=http://localhost:3500
      - MONGO_URL=mongodb://mongo:27017/rocketchat
      - MONGO_OPLOG_URL=mongodb://mongo:27017/local
      - MAIL_URL=smtp://smtp.email
#       - HTTP_PROXY=http://proxy.domain.com
#       - HTTPS_PROXY=http://proxy.domain.com
    depends_on:
      - mongo
    ports:
      - 3500:3500
    labels:
      - &#x22;traefik.backend=rocketchat&#x22;
      - &#x22;traefik.frontend.rule=Host: your.domain.tld&#x22;

  mongo:
    image: mongo:3.2
    restart: unless-stopped
    volumes:
     - ./data/db:/data/db
     #- ./data/dump:/dump
    command: mongod --smallfiles --oplogSize 128 --replSet rs0 --storageEngine=mmapv1
    labels:
      - &#x22;traefik.enable=false&#x22;

  # this container&#x27;s job is just run the command to initialize the replica set.
  # it will run the command and remove himself (it will not stay running)
  mongo-init-replica:
    image: mongo:3.2
    command: &#x27;mongo mongo/rocketchat --eval &#x22;rs.initiate({ _id: &#x27;&#x27;rs0&#x27;&#x27;, members: [ { _id: 0, host: &#x27;&#x27;localhost:27017&#x27;&#x27; } ]})&#x22;&#x27;
    depends_on:
      - mongo

  # hubot, the popular chatbot (add the bot user first and change the password before starting this image)
  hubot:
    image: rocketchat/hubot-rocketchat:latest
    restart: unless-stopped
    environment:
      - ROCKETCHAT_URL=rocketchat:3500
      - ROCKETCHAT_ROOM=GENERAL
      - ROCKETCHAT_USER=bot
      - ROCKETCHAT_PASSWORD=botpassword
      - BOT_NAME=bot
  # you can add more scripts as you&#x27;d like here, they need to be installable by npm
      - EXTERNAL_SCRIPTS=hubot-help,hubot-seen,hubot-links,hubot-diagnostics
    depends_on:
      - rocketchat
    labels:
      - &#x22;traefik.enable=false&#x22;
    volumes:
      - ./scripts:/home/hubot/scripts
  # this is used to expose the hubot port for notifications on the host on port 3001, e.g. for hubot-jenkins-notifier
    ports:
      - 3001:8080

  #traefik:
  #  image: traefik:latest
  #  restart: unless-stopped
  #  command: traefik --docker --acme=true --acme.domains=&#x27;your.domain.tld&#x27; --acme.email=&#x27;your@email.tld&#x27; --acme.entrypoint=https --acme.storagefile=acme.json --defaultentrypoints=http --defaultentrypoints=https --entryPoints=&#x27;Name:http Address::80 Redirect.EntryPoint:https&#x27; --entryPoints=&#x27;Name:https Address::443 TLS.Certificates:&#x27;
  #  ports:
  #    - 80:80
  #    - 443:443
  #  volumes:
  #    - /var/run/docker.sock:/var/run/docker.sock
"><div onclick="copied(this)" class="copied"><svg class="octicon-copy" aria-hidden="true" viewBox="0 0 16 16" fill="currentColor" height="12" width="12"><path fill-rule="evenodd" d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 010 1.5h-1.5a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-1.5a.75.75 0 011.5 0v1.5A1.75 1.75 0 019.25 16h-7.5A1.75 1.75 0 010 14.25v-7.5z"></path><path fill-rule="evenodd" d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0114.25 11h-7.5A1.75 1.75 0 015 9.25v-7.5zm1.75-.25a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-7.5a.25.25 0 00-.25-.25h-7.5z"></path></svg><svg class="octicon-check" aria-hidden="true" viewBox="0 0 16 16" fill="currentColor" height="12" width="12"><path fill-rule="evenodd" d="M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"></path></svg></div></pre>
        <h2 id="服务启动"><a aria-hidden="true" tabindex="-1" href="#服务启动" class="anchor"><span class="icon icon-link"></span></a>服务启动</h2>
        <pre class="language-bash"><code class="language-bash code-highlight"><span class="code-line line-number" line="1"><span class="token function">docker-compose</span> up <span class="token parameter variable">-d</span> mongo
</span><span class="code-line line-number" line="2"><span class="token comment"># 第一次启动mongo时，您还需要初始化它才能使用Rocket.Chat。</span>
</span><span class="code-line line-number" line="3"><span class="token comment"># 确保mongo处于运行状态，然后：</span>
</span><span class="code-line line-number" line="4"><span class="token function">docker-compose</span> up <span class="token parameter variable">-d</span> mongo-init-replica
</span><span class="code-line line-number" line="5"><span class="token comment"># mongo 启动完成启动主程序</span>
</span><span class="code-line line-number" line="6"><span class="token function">docker-compose</span> up <span class="token parameter variable">-d</span> rocketchat
</span><span class="code-line line-number" line="7"><span class="token comment"># 如果你想要一个机器人，所以你不必自己说话，</span>
</span><span class="code-line line-number" line="8"><span class="token comment"># 在你创建了一个管理员用户和一个机器人用户之后，再次编辑文件 docker-compose.yml 来改变变量：</span>
</span><span class="code-line line-number" line="9"><span class="token comment"># - ROCKETCHAT_USER 和 ROCKETCHAT_PASSWORD 在 hubot 部分然后启动 hubot：</span>
</span><span class="code-line line-number" line="10"><span class="token function">docker-compose</span> up <span class="token parameter variable">-d</span> hubot
</span></code><input type="hidden" value="docker-compose up -d mongo
# 第一次启动mongo时，您还需要初始化它才能使用Rocket.Chat。
# 确保mongo处于运行状态，然后：
docker-compose up -d mongo-init-replica
# mongo 启动完成启动主程序
docker-compose up -d rocketchat
# 如果你想要一个机器人，所以你不必自己说话，
# 在你创建了一个管理员用户和一个机器人用户之后，再次编辑文件 docker-compose.yml 来改变变量：
# - ROCKETCHAT_USER 和 ROCKETCHAT_PASSWORD 在 hubot 部分然后启动 hubot：
docker-compose up -d hubot
"><div onclick="copied(this)" class="copied"><svg class="octicon-copy" aria-hidden="true" viewBox="0 0 16 16" fill="currentColor" height="12" width="12"><path fill-rule="evenodd" d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 010 1.5h-1.5a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-1.5a.75.75 0 011.5 0v1.5A1.75 1.75 0 019.25 16h-7.5A1.75 1.75 0 010 14.25v-7.5z"></path><path fill-rule="evenodd" d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0114.25 11h-7.5A1.75 1.75 0 015 9.25v-7.5zm1.75-.25a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-7.5a.25.25 0 00-.25-.25h-7.5z"></path></svg><svg class="octicon-check" aria-hidden="true" viewBox="0 0 16 16" fill="currentColor" height="12" width="12"><path fill-rule="evenodd" d="M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"></path></svg></div></pre>
        <div class="previous"><a class="prev" href="../redis.html"><svg viewBox="0 0 1024 1024" width="16" height="16" fill="currentColor">
              <path d="M842.666667 864c-8.533333 0-14.933333-2.133333-21.333334-8.533333l-341.333333-309.333334c-6.4-6.4-10.666667-14.933333-10.666667-23.466666 0-8.533333 4.266667-17.066667 10.666667-23.466667l341.333333-309.333333c12.8-12.8 34.133333-10.666667 44.8 2.133333 12.8 12.8 10.666667 34.133333-2.133333 44.8L548.266667 522.666667l315.733333 285.866666c12.8 10.666667 14.933333 32 2.133333 44.8-6.4 6.4-14.933333 10.666667-23.466666 10.666667z"></path>
              <path d="M512 864c-8.533333 0-14.933333-2.133333-21.333333-8.533333L149.333333 546.133333c-6.4-6.4-10.666667-14.933333-10.666666-23.466666 0-8.533333 4.266667-17.066667 10.666666-23.466667L490.666667 189.866667c12.8-12.8 34.133333-10.666667 44.8 2.133333 12.8 12.8 10.666667 34.133333-2.133334 44.8L217.6 522.666667 533.333333 808.533333c12.8 12.8 14.933333 32 2.133334 44.8-6.4 6.4-14.933333 10.666667-23.466667 10.666667z"></path>
            </svg>
<span>Redis 数据库
</span></a><a class="next" href="../seaweedfs/index.html"><span>SeaweedFS 文件系统
</span><svg viewBox="0 0 1024 1024" width="16" height="16" fill="currentColor">
              <path d="M544 522.666667c0-8.533333-4.266667-17.066667-10.666667-23.466667L192 189.866667c-12.8-12.8-34.133333-10.666667-44.8 2.133333-12.8 12.8-10.666667 34.133333 2.133333 44.8l315.733334 285.866667L149.333333 808.533333c-12.8 12.8-14.933333 32-2.133333 44.8 6.4 6.4 14.933333 10.666667 23.466667 10.666667 8.533333 0 14.933333-2.133333 21.333333-8.533333l341.333333-309.333334c6.4-6.4 10.666667-14.933333 10.666667-23.466666z"></path>
              <path d="M864 499.2l-341.333333-309.333333c-12.8-12.8-34.133333-10.666667-44.8 2.133333-12.8 12.8-10.666667 34.133333 2.133333 44.8l315.733333 285.866667-315.733333 285.866666c-12.8 12.8-14.933333 32-2.133333 44.8 6.4 6.4 14.933333 10.666667 23.466666 10.666667 8.533333 0 14.933333-2.133333 21.333334-8.533333l341.333333-309.333334c6.4-6.4 10.666667-14.933333 10.666667-23.466666 0-8.533333-4.266667-17.066667-10.666667-23.466667z"></path>
            </svg></a></div>
        <section class="article-footer"><a href="https://github.com/jaywcjlove/docker-tutorial/tree/master/docs/rocket.chat/README.md" class="edit-button" target="_blank" rel="noopener noreferrer"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
              <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z"></path>
            </svg>
<span>Edit this page on GitHub</span>
</a><span class="atime">2022/04/20</span></section>
      </markdown-style>
      <nav class="tocs">
        <aside class="inner toc">
          <ol class="tocs-list">
            <li><a href="#docker-composeyml" class="tocs-link">docker-compose.yml</a></li>
            <li><a href="#服务启动" class="tocs-link">服务启动</a></li>
          </ol>
        </aside>
      </nav>
    </div>
    <script src="../js/demo-preview.js?v=1.29.0"></script>
    <div class="footer warpper">
      <a href="https://wangchujiang.com/#/app" target="_blank">App</a> •
      <a href="https://wangchujiang.com/#/projects" target="_blank">Projects</a> •
      <a href="https://wangchujiang.com/#/sponsor" target="_blank">Sponsor</a> •
      <a href="https://wangchujiang.com/#/app" target="_blank">More Apps</a><br><br>Released under the MIT License. Copyright © 2024 <a href="https://wangchujiang.com/#/about" target="_blank">Kenny Wong</a><br>Generated by <a href="https://github.com/jaywcjlove/idoc" target="_blank">idoc</a> v1.29.0
    </div>
    <script src="../js/tocbot.js?v=1.29.0"></script>
  </body>
</html>
